/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package doan.quanlycanbo.portlet.service;

import com.liferay.portal.kernel.util.ClassLoaderProxy;
import com.liferay.portal.kernel.util.MethodHandler;
import com.liferay.portal.kernel.util.MethodKey;

/**
 * @author Nguyen Tuan Vinh
 */
public class donviLocalServiceClp implements donviLocalService {
	public donviLocalServiceClp(ClassLoaderProxy classLoaderProxy) {
		_classLoaderProxy = classLoaderProxy;
	}

	public doan.quanlycanbo.portlet.model.donvi adddonvi(
		doan.quanlycanbo.portlet.model.donvi donvi)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_adddonviMethodKey0,
				donvi);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (doan.quanlycanbo.portlet.model.donvi)ClpSerializer.translateOutput(returnObj);
	}

	public doan.quanlycanbo.portlet.model.donvi createdonvi(long madonvi) {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_createdonviMethodKey1,
				madonvi);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (doan.quanlycanbo.portlet.model.donvi)ClpSerializer.translateOutput(returnObj);
	}

	public void deletedonvi(long madonvi)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		MethodHandler methodHandler = new MethodHandler(_deletedonviMethodKey2,
				madonvi);

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	public void deletedonvi(doan.quanlycanbo.portlet.model.donvi donvi)
		throws com.liferay.portal.kernel.exception.SystemException {
		MethodHandler methodHandler = new MethodHandler(_deletedonviMethodKey3,
				donvi);

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey4,
				dynamicQuery);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end) throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey5,
				dynamicQuery, start, end);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end,
		com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey6,
				dynamicQuery, start, end, orderByComparator);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	public long dynamicQueryCount(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryCountMethodKey7,
				dynamicQuery);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Long)returnObj).longValue();
	}

	public doan.quanlycanbo.portlet.model.donvi getdonvi(long madonvi)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getdonviMethodKey8,
				madonvi);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (doan.quanlycanbo.portlet.model.donvi)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.donvi> getdonvis(
		int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getdonvisMethodKey9,
				start, end);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<doan.quanlycanbo.portlet.model.donvi>)ClpSerializer.translateOutput(returnObj);
	}

	public int getdonvisCount()
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getdonvisCountMethodKey10);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Integer)returnObj).intValue();
	}

	public doan.quanlycanbo.portlet.model.donvi updatedonvi(
		doan.quanlycanbo.portlet.model.donvi donvi)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_updatedonviMethodKey11,
				donvi);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (doan.quanlycanbo.portlet.model.donvi)ClpSerializer.translateOutput(returnObj);
	}

	public doan.quanlycanbo.portlet.model.donvi updatedonvi(
		doan.quanlycanbo.portlet.model.donvi donvi, boolean merge)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_updatedonviMethodKey12,
				donvi, merge);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (doan.quanlycanbo.portlet.model.donvi)ClpSerializer.translateOutput(returnObj);
	}

	public doan.quanlycanbo.portlet.model.donvi geDepartmentByD_G(
		long departmentId, long groupId)
		throws com.liferay.portal.kernel.exception.SystemException,
			doan.quanlycanbo.portlet.NoSuchdonviException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_geDepartmentByD_GMethodKey13,
				departmentId, groupId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof doan.quanlycanbo.portlet.NoSuchdonviException) {
				throw (doan.quanlycanbo.portlet.NoSuchdonviException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (doan.quanlycanbo.portlet.model.donvi)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.donvi> getAll()
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getAllMethodKey14);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<doan.quanlycanbo.portlet.model.donvi>)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.donvi> getByKhoiDV(
		long khoidv) throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getByKhoiDVMethodKey15,
				khoidv);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<doan.quanlycanbo.portlet.model.donvi>)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.donvi> getByGroup(
		long groupId)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getByGroupMethodKey16,
				groupId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<doan.quanlycanbo.portlet.model.donvi>)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.donvi> getByParent(
		long parentId)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getByParentMethodKey17,
				parentId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<doan.quanlycanbo.portlet.model.donvi>)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.hoso> getDsLanhDao(
		long depId, long funcId)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getDsLanhDaoMethodKey18,
				depId, funcId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<doan.quanlycanbo.portlet.model.hoso>)ClpSerializer.translateOutput(returnObj);
	}

	public int countAllEmployee(long depId)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_countAllEmployeeMethodKey19,
				depId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Integer)returnObj).intValue();
	}

	public java.util.List<doan.quanlycanbo.portlet.model.hoso> getDsHocham(
		long depId, long mahocham)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getDsHochamMethodKey20,
				depId, mahocham);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<doan.quanlycanbo.portlet.model.hoso>)ClpSerializer.translateOutput(returnObj);
	}

	public int countDsHocham(long depId, long mahocham)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_countDsHochamMethodKey21,
				depId, mahocham);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Integer)returnObj).intValue();
	}

	public java.util.List<doan.quanlycanbo.portlet.model.hoso> getDsHocvi(
		long depId, long mahocvi)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getDsHocviMethodKey22,
				depId, mahocvi);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<doan.quanlycanbo.portlet.model.hoso>)ClpSerializer.translateOutput(returnObj);
	}

	public int countDsHocvi(long depId, long mahocvi)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_countDsHocviMethodKey23,
				depId, mahocvi);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Integer)returnObj).intValue();
	}

	public doan.quanlycanbo.portlet.model.donvi addDonVi(
		doan.quanlycanbo.portlet.model.donvi dv1, long userId)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_addDonViMethodKey24,
				dv1, userId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (doan.quanlycanbo.portlet.model.donvi)ClpSerializer.translateOutput(returnObj);
	}

	public doan.quanlycanbo.portlet.model.donvi updateDonVi(long madonvi,
		long makhoi, long donvicha, java.lang.String tendonvi,
		java.lang.String diachi, java.lang.String dienthoai,
		java.lang.String fax, java.lang.String hinhanh,
		java.lang.String gioithieuchung)
		throws com.liferay.portal.kernel.exception.SystemException,
			doan.quanlycanbo.portlet.NoSuchdonviException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_updateDonViMethodKey25,
				madonvi, makhoi, donvicha, tendonvi, diachi, dienthoai, fax,
				hinhanh, gioithieuchung);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof doan.quanlycanbo.portlet.NoSuchdonviException) {
				throw (doan.quanlycanbo.portlet.NoSuchdonviException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (doan.quanlycanbo.portlet.model.donvi)ClpSerializer.translateOutput(returnObj);
	}

	public void deleteDonVi(long madonvi)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException,
			doan.quanlycanbo.portlet.NoSuchdonviException {
		MethodHandler methodHandler = new MethodHandler(_deleteDonViMethodKey26,
				madonvi);

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof doan.quanlycanbo.portlet.NoSuchdonviException) {
				throw (doan.quanlycanbo.portlet.NoSuchdonviException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	public void deleteDonVi(doan.quanlycanbo.portlet.model.donvi dv)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		MethodHandler methodHandler = new MethodHandler(_deleteDonViMethodKey27,
				dv);

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	public ClassLoaderProxy getClassLoaderProxy() {
		return _classLoaderProxy;
	}

	private ClassLoaderProxy _classLoaderProxy;
	private MethodKey _adddonviMethodKey0 = new MethodKey(_classLoaderProxy.getClassName(),
			"adddonvi", doan.quanlycanbo.portlet.model.donvi.class);
	private MethodKey _createdonviMethodKey1 = new MethodKey(_classLoaderProxy.getClassName(),
			"createdonvi", long.class);
	private MethodKey _deletedonviMethodKey2 = new MethodKey(_classLoaderProxy.getClassName(),
			"deletedonvi", long.class);
	private MethodKey _deletedonviMethodKey3 = new MethodKey(_classLoaderProxy.getClassName(),
			"deletedonvi", doan.quanlycanbo.portlet.model.donvi.class);
	private MethodKey _dynamicQueryMethodKey4 = new MethodKey(_classLoaderProxy.getClassName(),
			"dynamicQuery", com.liferay.portal.kernel.dao.orm.DynamicQuery.class);
	private MethodKey _dynamicQueryMethodKey5 = new MethodKey(_classLoaderProxy.getClassName(),
			"dynamicQuery",
			com.liferay.portal.kernel.dao.orm.DynamicQuery.class, int.class,
			int.class);
	private MethodKey _dynamicQueryMethodKey6 = new MethodKey(_classLoaderProxy.getClassName(),
			"dynamicQuery",
			com.liferay.portal.kernel.dao.orm.DynamicQuery.class, int.class,
			int.class, com.liferay.portal.kernel.util.OrderByComparator.class);
	private MethodKey _dynamicQueryCountMethodKey7 = new MethodKey(_classLoaderProxy.getClassName(),
			"dynamicQueryCount",
			com.liferay.portal.kernel.dao.orm.DynamicQuery.class);
	private MethodKey _getdonviMethodKey8 = new MethodKey(_classLoaderProxy.getClassName(),
			"getdonvi", long.class);
	private MethodKey _getdonvisMethodKey9 = new MethodKey(_classLoaderProxy.getClassName(),
			"getdonvis", int.class, int.class);
	private MethodKey _getdonvisCountMethodKey10 = new MethodKey(_classLoaderProxy.getClassName(),
			"getdonvisCount");
	private MethodKey _updatedonviMethodKey11 = new MethodKey(_classLoaderProxy.getClassName(),
			"updatedonvi", doan.quanlycanbo.portlet.model.donvi.class);
	private MethodKey _updatedonviMethodKey12 = new MethodKey(_classLoaderProxy.getClassName(),
			"updatedonvi", doan.quanlycanbo.portlet.model.donvi.class,
			boolean.class);
	private MethodKey _geDepartmentByD_GMethodKey13 = new MethodKey(_classLoaderProxy.getClassName(),
			"geDepartmentByD_G", long.class, long.class);
	private MethodKey _getAllMethodKey14 = new MethodKey(_classLoaderProxy.getClassName(),
			"getAll");
	private MethodKey _getByKhoiDVMethodKey15 = new MethodKey(_classLoaderProxy.getClassName(),
			"getByKhoiDV", long.class);
	private MethodKey _getByGroupMethodKey16 = new MethodKey(_classLoaderProxy.getClassName(),
			"getByGroup", long.class);
	private MethodKey _getByParentMethodKey17 = new MethodKey(_classLoaderProxy.getClassName(),
			"getByParent", long.class);
	private MethodKey _getDsLanhDaoMethodKey18 = new MethodKey(_classLoaderProxy.getClassName(),
			"getDsLanhDao", long.class, long.class);
	private MethodKey _countAllEmployeeMethodKey19 = new MethodKey(_classLoaderProxy.getClassName(),
			"countAllEmployee", long.class);
	private MethodKey _getDsHochamMethodKey20 = new MethodKey(_classLoaderProxy.getClassName(),
			"getDsHocham", long.class, long.class);
	private MethodKey _countDsHochamMethodKey21 = new MethodKey(_classLoaderProxy.getClassName(),
			"countDsHocham", long.class, long.class);
	private MethodKey _getDsHocviMethodKey22 = new MethodKey(_classLoaderProxy.getClassName(),
			"getDsHocvi", long.class, long.class);
	private MethodKey _countDsHocviMethodKey23 = new MethodKey(_classLoaderProxy.getClassName(),
			"countDsHocvi", long.class, long.class);
	private MethodKey _addDonViMethodKey24 = new MethodKey(_classLoaderProxy.getClassName(),
			"addDonVi", doan.quanlycanbo.portlet.model.donvi.class, long.class);
	private MethodKey _updateDonViMethodKey25 = new MethodKey(_classLoaderProxy.getClassName(),
			"updateDonVi", long.class, long.class, long.class,
			java.lang.String.class, java.lang.String.class,
			java.lang.String.class, java.lang.String.class,
			java.lang.String.class, java.lang.String.class);
	private MethodKey _deleteDonViMethodKey26 = new MethodKey(_classLoaderProxy.getClassName(),
			"deleteDonVi", long.class);
	private MethodKey _deleteDonViMethodKey27 = new MethodKey(_classLoaderProxy.getClassName(),
			"deleteDonVi", doan.quanlycanbo.portlet.model.donvi.class);
}